home *** CD-ROM | disk | FTP | other *** search
/ Aminet 5 / Aminet 5 - March 1995.iso / Aminet / game / role / Angband_2_6_2.lha / Angband / src / SMakefile < prev    next >
Makefile  |  1995-01-06  |  3KB  |  84 lines

  1. #
  2. # Makefile for Amiga SAS/C 6.51
  3. #
  4.  
  5. # BINDIR is the directory where the angband binary will be installed.
  6.  
  7. BINDIR    = HD3:Games/Angband/bin
  8. PROGRAM    = angband
  9.  
  10. CC    = sc
  11.  
  12. HEADERS = angband.h constant.h types.h externs.h config.h monster.h
  13.  
  14. SRC    = main.c misc1.c misc2.c store1.c files.c io.c create.c desc.c \
  15.     generate.c sets.c dungeon.c creature.c death.c eat.c help.c \
  16.     magic.c potions.c prayer.c save.c staffs.c wands.c scrolls.c \
  17.     spells.c wizard.c store2.c signals.c moria1.c moria2.c \
  18.     monsters.c treasure.c variable.c recall.c unix.c undef.c \
  19.     player.c tables.c describe_mon.c rods.c random.c util.c \
  20.     amiga.c
  21.  
  22. OBJ    = main.o misc1.o misc2.o store1.o files.o io.o create.o desc.o \
  23.     generate.o sets.o dungeon.o creature.o death.o eat.o help.o \
  24.     magic.o potions.o prayer.o save.o staffs.o wands.o scrolls.o \
  25.     spells.o wizard.o store2.o signals.o moria1.o moria2.o \
  26.     monsters.o treasure.o variable.o recall.o unix.o undef.o \
  27.     player.o tables.o describe_mon.o rods.o util.o random.o \
  28.     amiga.o
  29.  
  30. LIBFILES = hours news origcmds.hlp owizcmds.hlp roglcmds.hlp rwizcmds.hlp \
  31.     scores version.hlp welcome.hlp
  32.  
  33. default: all
  34.  
  35. all: $(PROGRAM)
  36.  
  37. $(PROGRAM): $(OBJ)
  38.     $(CC) LINK WITH <<
  39. $(OBJ) TO $(PROGRAM) LIB=LIB:curses.lib
  40. <
  41.  
  42. DEFINCL = constant.h config.h types.h externs.h
  43.  
  44. create.o: create.c $(DEFINCL)
  45. creature.o: creature.c $(DEFINCL) monster.h
  46. death.o: death.c $(DEFINCL)
  47. desc.o: desc.c $(DEFINCL)
  48. describe_mon.o: describe_mon.c $(DEFINCL)
  49. dungeon.o: dungeon.c $(DEFINCL) monster.h
  50. eat.o: eat.c $(DEFINCL)
  51. files.o: files.c $(DEFINCL)
  52. generate.o: generate.c $(DEFINCL) monster.h
  53. help.o: help.c $(DEFINCL) monster.h
  54. io.o: io.c $(DEFINCL)
  55. magic.o: magic.c $(DEFINCL)
  56. main.o: main.c $(DEFINCL)
  57. misc1.o: misc1.c $(DEFINCL) monster.h
  58. misc2.o: misc2.c $(DEFINCL) monster.h
  59. monsters.o: monsters.c $(DEFINCL) monster.h
  60. moria1.o: moria1.c $(DEFINCL) monster.h
  61. moria2.o: moria2.c $(DEFINCL) monster.h
  62. player.o: player.c $(DEFINCL)
  63. potions.o: potions.c $(DEFINCL)
  64. prayer.o: prayer.c $(DEFINCL) monster.h
  65. random.o: random.c
  66. recall.o: recall.c $(DEFINCL) monster.h
  67. rods.o: rods.c $(DEFINCL)
  68. save.o: save.c $(DEFINCL) monster.h
  69. scrolls.o: scrolls.c $(DEFINCL) monster.h
  70. sets.o: sets.c $(DEFINCL)
  71. signals.o: signals.c $(DEFINCL)
  72. spells.o: spells.c $(DEFINCL) monster.h
  73. staffs.o: staffs.c $(DEFINCL) monster.h
  74. store1.o: store1.c $(DEFINCL)
  75. store2.o: store2.c $(DEFINCL)
  76. tables.o: tables.c $(DEFINCL)
  77. treasure.o: treasure.c $(DEFINCL)
  78. undef.o: undef.c $(DEFINCL)
  79. unix.o: unix.c $(DEFINCL)
  80. util.o: util.c $(DEFINCL)
  81. variable.o: variable.c $(DEFINCL)
  82. wands.o: wands.c $(DEFINCL)
  83. wizard.o: wizard.c $(DEFINCL) monster.h
  84.